using CMS.Application.RequestDto;
using CMS.Application.ResponseDto;
using CMS.Domain.Entity;

namespace CMS.Application.Common.Interface
{
    public interface IIdentityService
    {
        Task<AppTokenDto> ValidateUserAsync(UserForAuthDto userForAuthDto);

        Task<AppTokenDto> GenerateToken(Users users);

        Task<AppTokenDto> RefreshTokenAsync(AppTokenDto appToken);
    }
}